﻿//  Copyright (c) 2010 Ray Liang (http://www.dotnetage.com)
//  Dual licensed under the MIT and GPL licenses:
//  http://www.opensource.org/licenses/mit-license.php
//  http://www.gnu.org/licenses/gpl.html
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;
using System.Xml.Serialization;

namespace DNA.OpenAPI.BlogML
{
    [Serializable]
    public struct BlogMLAttachment
    {
        [XmlAttribute("embedded")]
        public bool Embedded;

        [XmlAttribute("url")]
        public string Url;

        [XmlAttribute("path")]
        public string Path;

        [XmlAttribute("mime-type")]
        public string MimeType;

        [XmlText]
        public byte[] Data;
    }
}